﻿using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;

namespace PasteLoggerBoard.usermodels
{

    ///<summary>
    ///接收配置
    ///</summary>
    public class WebHookLinkAddDto
    {

        ///<summary>
        ///
        ///</summary>
        [MaxLength(16)]
        public string AppName { get; set; }

        ///<summary>
        ///哪个接收者
        ///</summary>

        public int WebHookerId { get; set; }

        ///<summary>
        ///哪个消息层级 Information Warning Error Exception
        ///</summary>
        [MaxLength(16)]
        public string Level { get; set; }
    }
    ///<summary>
    ///接收配置
    ///</summary>
    public class WebHookLinkDto : EntityDto<int>
    {

        ///<summary>
        ///
        ///</summary>
        [MaxLength(16)]
        public string AppName { get; set; }

        ///<summary>
        ///哪个接收者
        ///</summary>

        public int WebHookerId { get; set; }

        ///<summary>
        ///哪个消息层级 Information Warning Error Exception
        ///</summary>
        [MaxLength(16)]
        public string Level { get; set; }
    }
    ///<summary>
    ///接收配置
    ///</summary>
    public class WebHookLinkListDto : EntityDto<int>
    {

        ///<summary>
        ///
        ///</summary>
        [MaxLength(16)]
        public string AppName { get; set; }

        ///<summary>
        ///哪个接收者
        ///</summary>

        public int WebHookerId { get; set; }

        ///<summary>
        ///哪个消息层级 Information Warning Error Exception
        ///</summary>
        [MaxLength(16)]
        public string Level { get; set; }
    }

    ///<summary>
    ///接收配置
    ///</summary>
    public class WebHookLinkUpdateDto : EntityDto<int>
    {

        ///<summary>
        ///
        ///</summary>
        [MaxLength(16)]
        public string AppName { get; set; }

        ///<summary>
        ///哪个接收者
        ///</summary>

        public int WebHookerId { get; set; }

        ///<summary>
        ///哪个消息层级 Information Warning Error Exception
        ///</summary>
        [MaxLength(16)]
        public string Level { get; set; }
    }
}
